/**
 * 
 */
package sailing.managers;

import java.util.List;

import sailing.entity.AccountingSubject;
import sailing.entity.SubjectCategory;
import sailing.ui.systemsetting.model.SubjectTreeNode;

/**
 * @author kevin
 *
 */
public interface AccountingSubjectManager {

	public void buildSubjectTree(SubjectTreeNode root);

	public List<SubjectCategory> getSubjectCategoryList();

	public boolean save(AccountingSubject as);

	public List<AccountingSubject> getSubjectListByCateId(int code);

	public boolean update(AccountingSubject as);

	public boolean delete(AccountingSubject as);

}
